package com.shengde.jinwawaforleader.network.protocolbean;

import java.util.List;

/**
 * Created by Chason on 2016/9/9.
 */

public class ProClassList {

    /**
     * code : 0
     * teacher : [{"teacherid":28,"phone":"13403074884","num":5,"name":"gary","logo":"20160725113248833326.jpg"},{"teacherid":29,"phone":"13933333333","num":1,"name":"罗"},{"teacherid":31,"phone":"13922222222","num":3,"name":"gasry1989"},{"teacherid":114,"phone":"13966666666","num":1,"name":"老王"},{"teacherid":115,"phone":"13977777777","num":1,"name":"老李"},{"teacherid":117,"phone":"13999999999","num":2,"name":"老钱"},{"teacherid":19,"phone":"13900000000","num":5,"name":"张丹丹","logo":"20160410114947567580.jpg"},{"teacherid":31,"phone":"13922222222","num":3,"name":"gasry1989","logo":"20160504132359746485.jpg"},{"teacherid":25,"phone":"13944444444","num":3,"name":"李老师"},{"teacherid":184,"phone":"15898765432","num":4,"name":"提拉米苏1","logo":"20160509175259918705.png"}]
     * student : [{"classid":7,"tnum":4,"name":"A班","cnum":20},{"classid":12,"tnum":8,"name":"B--2班","cnum":5},{"classid":51,"tnum":8,"name":"C2班","cnum":10},{"classid":1330,"tnum":4,"name":"德玛西亚","cnum":6},{"classid":2374,"tnum":2,"name":"测试导入","cnum":22}]
     */

    private int code;
    /**
     * useid :2337
     * teacherid : 28
     * phone : 13403074884
     * num : 5
     * name : gary
     * logo : 20160725113248833326.jpg
     */

    private List<TeacherEntity> teacher;
    /**
     * classid : 7
     * tnum : 4
     * name : A班
     * cnum : 20
     */

    private List<StudentEntity> student;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<TeacherEntity> getTeacher() {
        return teacher;
    }

    public void setTeacher(List<TeacherEntity> teacher) {
        this.teacher = teacher;
    }

    public List<StudentEntity> getStudent() {
        return student;
    }

    public void setStudent(List<StudentEntity> student) {
        this.student = student;
    }

    public static class TeacherEntity {
        private int teacherid;

        public int getUserid() {
            return userid;
        }

        public void setUserid(int userid) {
            this.userid = userid;
        }

        private int userid;
        private String phone;
        private int num;
        private String name;
        private String logo;

        public int getTeacherid() {
            return teacherid;
        }

        public void setTeacherid(int teacherid) {
            this.teacherid = teacherid;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public int getNum() {
            return num;
        }

        public void setNum(int num) {
            this.num = num;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getLogo() {
            return logo;
        }

        public void setLogo(String logo) {
            this.logo = logo;
        }
    }

    public static class StudentEntity {
        private int classid;
        private int tnum;
        private String name;
        private int cnum;

        public int getClassid() {
            return classid;
        }

        public void setClassid(int classid) {
            this.classid = classid;
        }

        public int getTnum() {
            return tnum;
        }

        public void setTnum(int tnum) {
            this.tnum = tnum;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getCnum() {
            return cnum;
        }

        public void setCnum(int cnum) {
            this.cnum = cnum;
        }
    }
}